package com.machine.service.user;

import java.util.List;

import com.machine.bean.Componentpart;

public interface ComponentServiceDao {
	public void add(Componentpart component);

	public int delete(Componentpart component);
	public Componentpart findById(Integer id);
	public int deleteByIdList(List<Integer> idList);

	public int update(Componentpart component);

	public List<Componentpart> find(String name);
	public List<Componentpart> findAll();
}
